mod config;
mod db;
mod handlers;
mod server;
mod lorawan;

use config::Config;

#[tokio::main]
async fn main() {
    let config = Config::from_file("config.toml").expect("无法加载配置文件");
    server::run(config).await;
}
  